/*
 * scu.c, utilities for the SmartCam skeleton system
 */

#define __LIBSCU
#define LIBMAIN
#define LIBCTOR _scuInit

#include <log.h>
#include "scu.h"

log_default_streams_t scul_buf, scul_trans, scul_mach, scul_list, scul_stat;

LIBCTOR void _scuInit(void)
{
  logAddGroup();
  scul_buf = logAddDefaultStreams(NULL);
  logEdit(scul_buf.info, LOG_GROUP_SET_LEVEL);
  logAddGroup();
  scul_mach = logAddDefaultStreams(NULL);
  logEdit(scul_mach.info, LOG_GROUP_SET_LEVEL);
  logAddGroup();
  scul_list = logAddDefaultStreams(NULL);
  logEdit(scul_list.info, LOG_GROUP_SET_LEVEL);
  logAddGroup();
  scul_stat = logAddDefaultStreams(NULL);
  logEdit(scul_stat.info, LOG_GROUP_SET_LEVEL);

//  scuTransportInit();
//  scuStatInit();
}
